﻿define(['app'], function (app) {
    app.controller('ctrltodo', ['$scope', 'serv', function ($scope, serv) {
        console.log("ctrltodo");
        loaddata();
        function loaddata() {
            $scope.MessageTodo = "AAAAA-todo";
            //var promise = serv.getdata();
            //promise.then(function (resp) {
            //    $scope.Products = resp.data;
            //    $scope.Message = "Operation Completed Successfully...";
            //}, function (err) {
            //    $scope.Message = "Error " + err.status;
            //})
        };
    }]);
});